﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebPortal.Models.EntityModels;

namespace WebPortal.Models.ViewModel
{
    public class UserGoodsModel : Users
    {
        public UserGoodsModel(Users user)
        {
            this.Email = user.Email;
            this.IsAdmin = user.IsAdmin;
            this.UserID = user.UserID;
        }

        public List<GoodsModel> Goods = new List<GoodsModel>();
    }
}